
#ifndef	__QDX_LIMIT_H__
#define	__QDX_LIMIT_H__

#define	QDX_MAX_PEER_NAME_LEN		16  ///< should be replace process/machine name
#define	QDX_MAX_PROCESS_NAME_LEN	16	///< valid name length is 15 bytes
#define	QDX_MAX_MACHINE_NAME_LEN	16	///< valid name length is 15 bytes

#define	QDX_MAX_PRIVATE_NAME_LEN	QDX_MAX_PROCESS_NAME_LEN
#define	QDX_MAX_HOST_NAME_LEN	QDX_MAX_MACHINE_NAME_LEN
#define	QDX_MAX_GROUP_NAME_LEN	(QDX_MAX_PROCESS_NAME_LEN + QDX_MAX_MACHINE_NAME_LEN)

#define	QDX_MAX_GROUP_CHANGE_LEN	4	///< change action of groupship

#define QDX_MAX_ADDRESS_LEN    QDX_MAX_GROUP_NAME_LEN    ///< address is represented by group in QDX
#define QDX_MAX_QTAG_SIZE   QDX_MAX_ADDRESS_LEN



#define QDX_MAX_PATH_NAME_LEN   256		///< max length of path name buffer




#define	QDX_MAX_PACKET_SIZE	1048576		///< max size of a packet

#define	QDX_MAX_SOCKET_SLOTS	1024	///< max number of socket to be connected

#define	QDX_MAX_DAEMON_SLOTS	128		///< max number of daemon slots
#define	QDX_MAX_CLIENT_SLOTS	256		///< max number of client slots

#endif	/* __QDX_LIMIT_H__ */
